package com.rw.common.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 *
 * @TableName config_info
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class ConfigInfo implements Serializable {
    /**
     *
     */
    private Integer id;

    /**
     *
     */
    private String name;

    /**
     *
     */
    private String configKey;

    /**
     *
     */
    private String configValue;

    /**
     * 用搜索用的
     */
    @NotBlank(message = "搜索关键字不能为空")
    private String keyword;

    private static final long serialVersionUID = 1L;
}
